package com.zhl.study.service;

public interface IEmailService {

    /**
     * 发送纯文本邮件
     * @param to
     * @param subject
     * @param text
     */
    void sendSimpleEmail(String to,String subject,String text);

    /**
     * 发送复杂邮件
     * @param to
     * @param subject
     * @param text
     * @param filePath
     * @param rscId
     * @param rscPath
     */
    void sendComplexEmail(String to,String subject,String text,String filePath,String rscId,String rscPath);

    /**
     * 模板邮件
     * @param to
     * @param subject
     * @param content
     */
    void sendTemplateEmail(String to, String subject, String content);
}
